package com.weharvest.edu.view;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.weharvest.edu.view.save.BackstageUserSuperiorSave;
import lombok.Data;

import java.util.List;

/**
 * 用户上下级
 */
@Data
public class BackstageUserCpView extends BackstageUserSuperiorSave {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String directlyUnderName;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<BackstageUserSuperiorSave> children;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<BackstageUserSuperiorSave> parent;
}
